// Node.h: interface for the Node class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_NODE_H__738CC15E_B751_430E_8783_8BACCEC70314__INCLUDED_)
#define AFX_NODE_H__738CC15E_B751_430E_8783_8BACCEC70314__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "defsSolver.h"
#include <stdio.h>                                   
#include <stdlib.h>                                  

class NodeState  
{
public:
	bool operator<(const NodeState &secNode) const ;
	void operator=(const NodeState &secNode);
	unsigned char F(){return (gValue+hValue);}

	unsigned char state[SIZE];
	unsigned char gValue;
	unsigned char hValue;
	void Initialize(int *arr,unsigned char gVal,unsigned char hVal);
	NodeState();
	virtual ~NodeState();

	void Print();

};

#endif // !defined(AFX_NODE_H__738CC15E_B751_430E_8783_8BACCEC70314__INCLUDED_)
